
<?php echo $user; ?>
<a href="/index.php/user/login/">login</a>
<a href="/index.php/user/register/">register</a>
<a href="/index.php/user/logout/">logout</a>